<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>注册</title>
</head>
<body>
<div align="center">
    <form action="${pageContext.request.contextPath}/register.do" method="get">
        <table>
            <tr>
                <td>用户名：</td>
                <td><label>
                    <input type="text" name="registerName" maxlength="10" size="30" placeholder="请输入用户名(不超过十位)">
                </label></td>
            </tr>
            <tr>
                <td>密码：</td>
                <td><label>
                    <input type="password" name="registerPassword" maxlength="15" size="30" placeholder="请输入密码(不超过十五位)">
                </label></td>
            </tr>
            <tr>
                <td>性别：</td>
                <td><label>
                    <input type="radio" name="sex" value="男">
                </label>男<label>
                    <input type="radio" name="sex" value="女">
                </label>女</td>
            </tr>
            <tr>
                <td>生日：</td>
                <td><label>
                    <input type="date" name="birth" >
                </label></td>
            </tr>
            <tr>
                <td>个性签名：</td>
                <td><label>
                    <textarea name="sign" cols="20" rows="10"></textarea>
                </label></td>
            </tr>
        </table>
        <input type="submit" value="注册"><br>
        <a href="login.jsp">返回</a>
        <%if (request.getSession().getAttribute("registerLose") != null) {%>
        <%=request.getSession().getAttribute("registerLose")%>
        <%request.getSession().removeAttribute("registerLose");%>
        <%}%>
    </form>
</div>
</body>
</html>
